package com.gosophia.metadataEngine.action;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

import com.gosophia.commons.web.action.BaseAjaxAction;
import com.gosophia.metadataEngine.dto.DataSourceInfoDto;
import com.gosophia.metadataEngine.ws.MetadataEngineWebService;
import com.opensymphony.xwork2.ActionSupport;
/**
 * 分页获取数据源
 * @author wangxinbing
 * @since 2011-5-6
 */
@Controller("GetDataSourceInfoByPageAction")
@Scope("prototype")
public class GetDataSourceInfoByPageAction extends BaseAjaxAction<DataSourceInfoDto> {

	
	@Autowired
	private MetadataEngineWebService metadataEngineWebService;
	public String _execute(){
		page = metadataEngineWebService.findAllDataSourceInfoByPage(page.getPageSize(),page.getPageNo(),searchString,orderConditions);
		return SUCCESS;
	}
	@Override
	public DataSourceInfoDto getDetailData() {
		return null;
	}
}
